package com.shqcjd.generalplatformprojectclient.ui.view;

import com.afollestad.materialdialogs.MaterialDialog;
import com.shqcjd.generalplatformprojectclient.model.pojo.StaffsBean;

import java.util.List;

/**
 * 员工管理
 * Created by sy on 2018/12/15.
 */

public interface StaffsManagerView {
    MaterialDialog getDelDialog();

    //显示刷新view
    void showRefreshView(Boolean refresh);

    //获取数据错误
    void getDataError(String message);


    void getRefreshDataSuccess(List<StaffsBean> data);

    void getMoreDataSuccess(List<StaffsBean> data);

    void showProgress(String tipString);

    void hideProgress();

    void staffsCallback(boolean isSuccess);

    void addStaffSuccess();

    void delStaffSuccess();

    void updateStaffSuccess();
}
